import { TeacherItem } from "@/api/teacher/type";
//存储教师个人信息
export const SET_TEACHER = (teacherInfo:TeacherItem) => {
    localStorage.setItem('teacherInfo', JSON.stringify(teacherInfo));
}
//取出教师个人信息
export const GET_TEACHER= () => {
    return JSON.parse(localStorage.getItem('teacherInfo'));
}
//移除教师个人信息
export const REMOVE_TEACHER = () => {
    localStorage.removeItem('teacherInfo');
}
